using System.ComponentModel.DataAnnotations;

namespace Sheep_Breeding.Write.Api.DTOSheep
{
    /// <summary>
    /// 更新羊场状态的DTO
    /// </summary>
    public class UpdateSheepfarmStatusDto
    {
        /// <summary>
        /// 羊场ID
        /// </summary>
        [Required(ErrorMessage = "羊场ID不能为空")]
        public int SheepfarmId { get; set; }

        /// <summary>
        /// 状态（true：启用，false：禁用）
        /// </summary>
        public bool Status { get; set; }
    }
} 